#ifndef MAN_100_H
#define MAN_100_H
#include<QTimer>
#include <QMainWindow>
#include<QString>
namespace Ui {
class man_100;
}

class man_100 : public QMainWindow
{
    Q_OBJECT

public:
    explicit man_100(QWidget *parent = 0);
    ~man_100();
    void paintEvent(QPaintEvent *event);//绘画函数
    void Man();//人
    void keyPressEvent(QKeyEvent *event);//键盘事件
private slots:
    void man_update();
    QRect board();//产生木块
    QRect board1();
    QRect board2();
    QRect board3();
    QRect wind();
private:
    Ui::man_100 *ui;
    QRect man;
    QTimer *timer;
    QTimer *time_cloud;
    int direction;
    bool Start;//开始
    QRect Board,Board1,Board2,Board3,Wind;
    int first;
    int first1;
    int first2;
    int first3;
    int firstWind;
    int OnBoard;
    int OnBoard1;
    int OnBoard2;
    int OnBoard3;
    int OnWind;
    bool gameover;
    QString GAME;
    int count;
    int Board1start;
    int Board2start;
    int Board3start;
    int Windstart;
    int when_the_Wind_arises;
    int speed;
    int Score;
};
#endif // MAN_100_H
